<div class="widget-content">

<?php $form=$this->beginWidget('CActiveForm', array(
	'action'=>Yii::app()->createUrl($this->route),
	'method'=>'get',
	'htmlOptions'=>array('class'=>'form-horizontal', 'novalidate'=>'novalidate'),
)); ?>
	<fieldset>
	<div class="control-group">
		<?php echo $form->label($model,'id',array('class'=>'control-label')); ?>
		<div class="controls">
		<?php echo $form->textField($model,'id',array('size'=>20,'maxlength'=>20,'class'=>'input-large')); ?>
		</div>
	</div>

	<div class="control-group">
		<?php echo $form->label($model,'mid',array('class'=>'control-label')); ?>
		<div class="controls">
		<?php echo $form->textField($model,'mid',array('size'=>20,'maxlength'=>20,'class'=>'input-large')); ?>
		</div>
	</div>

	<div class="control-group">
		<?php echo $form->label($model,'pid',array('class'=>'control-label')); ?>
		<div class="controls">
		<?php echo $form->textField($model,'pid',array('size'=>20,'maxlength'=>20,'class'=>'input-large')); ?>
		</div>
	</div>

	<div class="control-group">
		<?php echo $form->label($model,'startdate',array('class'=>'control-label')); ?>
		<div class="controls">
		<?php echo $form->textField($model,'startdate'); ?>
		</div>
	</div>

	<div class="control-group">
		<?php echo $form->label($model,'enddate',array('class'=>'control-label')); ?>
		<div class="controls">
		<?php echo $form->textField($model,'enddate'); ?>
		</div>
	</div>

	<div class="control-group">
		<?php echo $form->label($model,'price',array('class'=>'control-label')); ?>
		<div class="controls">
		<?php echo $form->textField($model,'price',array('size'=>20,'maxlength'=>20,'class'=>'input-large')); ?>
		</div>
	</div>

	<div class="control-group">
		<?php echo $form->label($model,'active',array('class'=>'control-label')); ?>
		<div class="controls">
		<?php echo $form->textField($model,'active'); ?>
		</div>
	</div>

	<div class="form-actions">
		<?php echo CHtml::submitButton('Search',array('class'=>'btn btn-primary btn-large')); ?>
	</div>
	</fieldset>
<?php $this->endWidget(); ?>

</div><!-- search-form -->